package com.ruoyi.teacher.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级对象 sys_class
 *
 * @author Xsw
 * @date 2024-03-22
 */
public class Classes
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 开班人数 */
    @Excel(name = "开班人数")
    private Long students;

    /** 开班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结课日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结课日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 班主任 */
    @Excel(name = "班主任")
    private String charge;

    /** 就业老师 */
    @Excel(name = "就业老师")
    private String employmentTeacher;

    /** 助教老师 */
    @Excel(name = "助教老师")
    private String assistantTeacher;

    /** 版本号 */
    private Long version;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setCampus(String campus)
    {
        this.campus = campus;
    }

    public String getCampus()
    {
        return campus;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setStudents(Long students)
    {
        this.students = students;
    }

    public Long getStudents()
    {
        return students;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setCharge(String charge)
    {
        this.charge = charge;
    }

    public String getCharge()
    {
        return charge;
    }
    public void setEmploymentTeacher(String employmentTeacher)
    {
        this.employmentTeacher = employmentTeacher;
    }

    public String getEmploymentTeacher()
    {
        return employmentTeacher;
    }
    public void setAssistantTeacher(String assistantTeacher)
    {
        this.assistantTeacher = assistantTeacher;
    }

    public String getAssistantTeacher()
    {
        return assistantTeacher;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("className", getClassName())
                .append("campus", getCampus())
                .append("status", getStatus())
                .append("students", getStudents())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("charge", getCharge())
                .append("employmentTeacher", getEmploymentTeacher())
                .append("assistantTeacher", getAssistantTeacher())
                .append("version", getVersion())
                .toString();
    }
}
